﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace jobsheetFinal
{
    public partial class frmPagePendingJS : Form
    {
        public frmPagePendingJS()
        {
            InitializeComponent();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            //Page Connection
            this.Hide();
            AllFormClass.Admin.Show();
        }

        private void btnReject_Click(object sender, EventArgs e)
        {
            //Page Connection
            this.Hide();
            AllFormClass.Reject.Show();
        }

        private void btnSend_Click(object sender, EventArgs e)
        {
            

            //If Approve
            //Send to Engineer's Email



            //If Reject
            //Send back to Cindy/SalesPerson

            //Page connection
            MessageBox.Show("Your request is submitted successfully!");
            this.Hide();
            AllFormClass.Admin.Show();
        }
    }
}
